<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 1.创建函数
        function say() {
            document.write('你好，世界')
        }
        //2.函数的调用(调用5次)
        for (let i = 0; i <= 5; i++) {
            say()
        }

    </script>
</body>

</html>